package com.his.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 * 提问form
 * @author master
 *
 */
public class QuestionForm extends ActionForm {

	private Integer qid;

	private String qsex;

	private String qinfo;

	private Integer qage;

	private Integer uid;

	private String qtime;

	private String qtype;

	private String qtitle;

	private String qemail;
	
	private String uname;

	/** 
	 * Method validate 表单验证
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/** 
	 * Method reset 表单重置
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public Integer getQid() {
		return qid;
	}

	public void setQid(Integer qid) {
		this.qid = qid;
	}

	public String getQsex() {
		return qsex;
	}

	public void setQsex(String qsex) {
		this.qsex = qsex;
	}

	public String getQinfo() {
		return qinfo;
	}

	public void setQinfo(String qinfo) {
		this.qinfo = qinfo;
	}

	public Integer getQage() {
		return qage;
	}

	public void setQage(Integer qage) {
		this.qage = qage;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getQtime() {
		return qtime;
	}

	public void setQtime(String qtime) {
		this.qtime = qtime;
	}

	public String getQtype() {
		return qtype;
	}

	public void setQtype(String qtype) {
		this.qtype = qtype;
	}

	public String getQtitle() {
		return qtitle;
	}

	public void setQtitle(String qtitle) {
		this.qtitle = qtitle;
	}

	public String getQemail() {
		return qemail;
	}

	public void setQemail(String qemail) {
		this.qemail = qemail;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}
	
}